Please note that the MATLAB R2019a is used for this simulation code package,  and there may be some imcompatibility problems among different MATLAB versions. 

How to use this simulation code package?
The multi-resolution codebooks can be generated by near_hierarchy_codebook.m

The simulation results (Fig. 3 in the paper) can be obtained by running ./Beam pattern/Pattern.m in the folder. 

The simulation results (Fig. 4 (a) and (b) in the paper) can be obtained by running Main_rate_512_overhead_nar.m and Main_rate_512_overhead_wide.m in the folder. 

The simulation results (Fig. 5 (a) and (b) in the paper) can be obtained by running Main_rate_512_SNR_nar.m and Main_rate_512_SNR_wide.m in the folder. 

The simulation results (Fig. 6 (a) and (b) in the paper) can be obtained by running Main_rate_512_distance_nar.m and Main_rate_512_distance_wide.m in the folder. 

*********************************************************************************************************************************
